package oo;

import baza_mysql.Database;
import modalpanel.ModalPanel;

public class login {//extends ModalPanel {



	protected Database polaczenie;
	
	protected String
		pass,mail;
	
	
	public String getPass() {
		return pass;
	}


	public void setPass(String pass) {
		this.pass = pass;
	}


	public String getMail() {
		return mail;
	}


	public void setMail(String mail) {
		this.mail = mail;
	}


	/*public  login(){
		polaczenie=polacz();
		//sesja=new sesjaimpl();
		//System.out.println("sesja w loginie "+sesja.F_getStr_sessionId());
		
	}*/
	protected Database polacz(){
		int database_motor=1,		//1(mysql),2(oracle)
			connection_database=3;	//1(lokalnie),3(siec eatj)
		
		return new Database(database_motor,"szkola","root",null,connection_database);
	}
	
}
